package com.apes.framework.plugin.soe.store.database.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.framework.plugin.soe.metadata.SceneFlow;
import com.apes.framework.plugin.soe.metadata.SceneInstance;
import com.apes.framework.plugin.soe.metadata.SceneInstanceFlow;

import java.util.List;

public interface SceneInstanceFlowRepository extends CustomRepository<SceneInstanceFlow, String> {

    List<SceneInstanceFlow> findAllBySceneInstanceAndSceneFlow(SceneInstance sceneInstance, SceneFlow sceneFlow);

    List<SceneInstanceFlow> findAllBySceneInstanceIdAndSceneFlowId(String sceneInstanceId, String sceneFlowId);
}